class Point {
  public int x, y; 
  // This always refers to an object at (0,0) 
  
  Point(Point oldPoint) {
    x = oldPoint.x;
    y = oldPoint.y;
  }
  
  Point(int  x_value, int y_value) {
    x = x_value; 
    y = y_value;
  }
  
  public void set(Point p) {
    x = p.x;
    y = p.y;
  }
  
  public void clear() {
    this.x = 0; 
    this.y = 0;
  }
  //   public float distance(Point that) {
  //      float xDiff = x - that.x; 
  //      float yDiff = y - that.y; 
  //      return Math.sqrt(xDiff * xDiff + yDiff * yDiff);
  //   }
}

